package cn.mastor.server;

import cn.mastor.User;
import org.springframework.stereotype.Component;

@Component
public class UserFeignClientFallback implements UserService{
    @Override
    public User getUserById(Long id) {
        return new User(-1L,"熔断了","鸡儿咯");
    }
}
